package org.dreamwork.cai.jmx.beaninfo;


import java.io.Serializable;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;

public class Item implements Serializable {
    /** SRI 的名称 */
    public String name;

    /** 所有的方法描述 */
    public Set<ExposedMethod> methods = Collections.synchronizedSet (new HashSet<> ());

    /** SRI 的简短描述 */
    private String description;

    /** SRI 导出的类型 */
    public String[] types;

    public String getName () {
        return name;
    }

    public void setName (String name) {
        this.name = name;
    }

    public Set<ExposedMethod> getMethods () {
        return methods;
    }

    public void setMethods (Set<ExposedMethod> methods) {
        this.methods = methods;
    }

    public String getDescription () {
        return description;
    }

    public void setDescription (String description) {
        this.description = description;
    }

    public String[] getTypes () {
        return types;
    }

    public void setTypes (String[] types) {
        this.types = types;
    }
}